<template>
    <div class="uni-app-header">
        <el-page-header @back="goBack" >
        </el-page-header>
    </div>

</template>

<script type="text/javascript">
/**
 * @Author dingxing [2023-02-24 16:16:44]
 * @Description 
 */
export default {
    name: 'uni-app',
    components: {

    },

    props: {},

    data() {
        return {
        }
    },

    watch: {
        
    },


    computed:{

    },

    created() { },

    mounted() {
    },

    methods: {
        goBack() {
            if(this.$route.path=='/modify') {
                window.history.back();
            }else {
                this.$router.replace('/login')
            }
        }
    }
}
</script>

<style lang="less" scoped>
.uni-app-header {
    position: fixed;
    top: 5px;
    left: 15px;
    z-index: 99;
}
</style>